package com.zcxy360.sandtable.domain;

import com.zcxy360.sandtable.domain.Org;
import com.zcxy360.sandtable.domain.OrgExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface OrgMapper {
	
//	
	List<Org> listWithExtra(@Param("org") Org org,@Param("key") String key,@Param("orderByClause") String orderByClause);
	int deleteBatch(int[] orgIds);
	void resetTerm(Integer orgId);
//
	
    long countByExample(OrgExample example);

    int deleteByExample(OrgExample example);

    int deleteByPrimaryKey(Integer orgId);

    int insert(Org record);

    int insertSelective(Org record);

    List<Org> selectByExample(OrgExample example);

    Org selectByPrimaryKey(Integer orgId);

    int updateByExampleSelective(@Param("record") Org record, @Param("example") OrgExample example);

    int updateByExample(@Param("record") Org record, @Param("example") OrgExample example);

    int updateByPrimaryKeySelective(Org record);

    int updateByPrimaryKey(Org record);
}